﻿using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;

namespace SimJsonRpc
{
    public interface IRpcServer
    {
        void ConfigureServices<T>(IServiceCollection services, IRpcServerOptions<T> serverOptions) where T : class, IRpcServer, new();
        void Configure(IApplicationBuilder app);
    }
}
